package com.varian.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.varian.system.dto.SysTaskPageDTO;
import com.varian.system.entity.SysTask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author ben
 * @since 2024/12/12
 */
@Mapper
public interface SysTaskMapper extends BaseMapper<SysTask> {

    SysTask selectUncompletedTaskById(@Param("taskId") Long taskId);

    Page<SysTask> selectPage(@Param("page") Page<SysTask> page, @Param("dto") SysTaskPageDTO dto);
}
